<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <script src="../angular-1.5.8/angular.js"></script>
</head>
<body>
    <div ng-app="mainApp" ng-controller="mainController">
        <ul>
            <li ng-repeat="item in list" ><a href="#">{{item}}</a></li>
            <li  ><a href="#"></a></li>
            <li  ><a href="#"></a></li>
            <li  ><a href="#"></a></li>
        </ul>
    </div>
</body>
<script>
     angular.module( 'mainApp', [] )
        .controller( 'mainController', function ( $scope ) {
                var menul = '首页,新闻,产品,国际,关于我们'.split( ',' );

                $scope.list = menul;
            });
</script>
</html>